package org.sunny.security;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class Application {

    @RequestMapping("test_connection")
    public String testConnection(){
        return "test_connection";
    }

    @RequestMapping("check_login")
    public String checkLogin(){
        return "check_login";
    }

    @RequestMapping("/admin/admin")
    public String admin(){
        return "admin";
    }

    @RequestMapping("/db/dba")
    public String db(){
        return "db";
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class);
    }
}
